import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Index from '@/components/Index'
import TypeManger from '@/components/TypeManger'
import NewsManger from '@/components/NewsManger'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      component: Index
    },
    {
      path: '/TypeManger',
      component: TypeManger
    },
    {
      path: '/NewsManger',
      component: NewsManger
    }
  ]
})
